package com.elh.aop.model;

/**
 * @author liulei
 **/

public class TimeInterval {

    private long start;

    private long end;

    public long start(){
        this.start = System.currentTimeMillis();
        return this.start;
    }

    public long end(){
        this.end = System.currentTimeMillis();
        return this.end;
    }

    public long cost(){
        return this.end - this.start;
    }

}
